// Child4.jsx：弹窗
import { Component } from 'react'
import '../assets/css/Child.css'

export default class Child4 extends Component {
  hide () {
    this.props.hideDialog()
  }
  render () {
    return (
      <div className='child-container'>
        弹窗：如新增商品
        <button onClick={this.hide.bind(this)}>关闭</button>
      </div>
    )
  }

}
